package com.hly.wms.feign;


import com.hly.common.utils.R;
import com.hly.wms.entity.SysUserEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("renren-fast")
public interface RenRenFeign {

    /**
     * 所有用户列表
     */
    @GetMapping("/renren-fast/sys/user/list")
    public R list(@RequestParam Map<String, Object> params);

    /**
     * 根据id查询
     */
    @GetMapping("/renren-fast/sys/user/selectById")
    public SysUserEntity selectById(@RequestParam Integer userId);

}
